<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>六西格玛知识管理</title>
<link href="<?php echo $this->baseUrl ?>/public/style/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/chart/js/swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "bar_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/bar"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "bars_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/bars"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "bars1_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/bars1"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "bars2_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/bars2"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "linegb_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/linegb"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "linebb_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/linebb"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "linech_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/linech"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "linett_chart",
"756", "200", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/linett"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "pie1_chart",
"228", "228", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/pie1"} );
</script>
<script type="text/javascript">
swfobject.embedSWF(
"<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf", "pie2_chart",
"228", "228", "9.0.0", "expressInstall.swf",
{"data-file":"<?php echo $this->baseUrl ?>/project/pie2"} );
</script>
<style>
.chart_content{margin-bottom:10px;}
.box-list span{ padding:0 10px}
</style>
</head>

<body>
<!--头部-->
<?php echo $this->partial('common/header.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>

<!--主体-->
<div class="main-box" id="mainBox">
    <div class="third-menu">
        <?php echo $this->partial('common/operation.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>
        <div class="menu-title"><span class="icon"></span>项目首页</div>
    </div>
      <div class="search">
  	<form method="get" action="<?php echo $this->baseUrl ?>/project/list" name="search">
        <label>项目名称:</label>
        <input type="text" class="input" name="search_name" id="search_name" value="<?php echo !empty($_GET['search_name'])?$_GET['search_name']:'' ?>" />
        <label>关键词:</label>
        <input type="text" class="input" name="search_key_words" id="search_key_words" value="<?php echo !empty($_GET['search_key_words'])?$_GET['search_key_words']:'' ?>" />
        <label>摘要:</label>
        <input type="text" class="input" name="search_summary" id="search_summary" value="<?php echo !empty($_GET['search_summary'])?$_GET['search_summary']:'' ?>" />
        <label>班级:</label>
        <input type="text" class="input" name="search_class" id="search_class" value="<?php echo !empty($_GET['search_class'])?$_GET['search_class']:'' ?>" />
        <input type="submit" class="submit input" value="搜 索" />
    </form>
  </div>
    <div class="separate-line"></div>
</div>
<div class="mod-lss">
	<div class="main">
		<div class="left">
			<div class="box">
                <div class="box-title-modul">最新添加项目列表</div>
                <ul class="box-list">
                    <?php if ($this->top): ?>
                    <?php foreach ($this->top as $key => $val): ?>
                    <li class="box-item"><a href="<?php echo $this->baseUrl ?>/project/detail?project_id=<?php echo $val['project_id']; ?>"><?php echo $val['title']; ?></a></li>
                    <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
            <div class="box" style="height:494px">
                <div class="box-title-modul">项目分布</div>
				<div style="height:228px; width:228px; margin-bottom:10px;">
                <div id="pie1_chart">
                    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
                <div style="height:228px; width:228px;">
                <div id="pie2_chart">
                    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
            </div>
		</div>
		<div class="right">
        	<div class="box">
				<div class="box-title-modul">项目模块统计</div>
				<ul class="box-list">
                    <li class="box-item">系统中共有项目<?php echo $this->total; ?>个</li>
				</ul>
			</div>
            <div class="box">
				<div class="box-title-modul">项目相关标签数据</div>
                <ul class="box-list">
                	<?php foreach ($this->tags as $key => $val): ?>
                    	<span><a href="<?php echo $this->baseUrl ?>/tag/detail?tag_id=<?php echo $val['tag_id']; ?>"><?php echo $val['tag_name']; ?>(<?php echo $val['num']; ?>)</a></span>
                    <?php endforeach; ?>
                </ul>
            </div>
            <div class="box">
				<div class="box-title-modul">项目数据图表</div>
                <div class="chart_content">
                <table width="756px" border="1" bordercolor="#0066FF" align="center">
                	<tr align="center">
                    	<th colspan="<?php echo count($this->conf->projectType)+1;?>">项目数量分布</th>
                    </tr>
                	<tr align="center">
                    	<th width="12%">年月</th>
                    <?php foreach($this->conf->projectType as $k=>$v){ ?>
                          <th ><?php echo $v;?></th>
                    <?php }?>	
                    </tr>
                    
                    <?php foreach ($this->arrProjectType as $key=>$val): ?>
                    <tr align="center">
                        <td><?php echo $val['year']; ?></td>
                        <?php foreach($this->conf->projectType as $k=>$v){ ?>
                              <td> 
	                        	<?php if ($val[$k] == 0): ?>
	                            0
	                            <?php else: ?> 
	                        	<a href="<?php echo $this->baseUrl ?>/project/typestat?year=<?php echo $val['year']; ?>&category=<?php echo $k;?>"><?php echo $val[$k]; ?></a>
	                            <?php endif; ?>
                            </td>
                        <?php }?>	
                        
                    </tr>
                    <?php endforeach; ?>
                    
                </table>
                </div>
                <div class="chart_content">
                <div id="bars_chart">
                	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
                <div class="chart_content">
                <table width="756px" border="1" bordercolor="#0066FF" align="center">
                	<tr align="center">
                    	<th colspan="5">项目结余分布</th>
                    </tr>
                	<tr align="center">
                    	<th width="12%">年月</th>
                    <?php foreach($this->conf->projectType as $k=>$v){ ?>
                          <th ><?php echo $v;?></th>
                    <?php }?>	
                    </tr>
                    
                    <?php foreach ($this->arrProjectIncome as $key=>$val): ?>
                    <tr align="center">
                        <td><?php echo $val['year']; ?></td>
                        <?php foreach($this->conf->projectType as $k=>$v){ ?>
                              <td><?php echo $val[$k]; ?></td>
                        <?php }?>	                        
                    </tr>
                    <?php endforeach; ?>
                    
                </table>
                </div>
                <div class="chart_content">
                <div id="bars1_chart">
                	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
                <div class="chart_content">
                <table width="756px" border="1" bordercolor="#0066FF" align="center">
                	<tr align="center">
                    	<th colspan="5">项目类别分布（设计、制造、职能）</th>
                    </tr>
                	<tr align="center">
                    	<th width="12%">年月</th><th width="29%">设计</th><th width="29%">制造</th><th width="30%">职能</th>
                    </tr>
                    
                    <?php foreach ($this->arrProjectKind as $key=>$val): ?>
                    <tr align="center">
                        <td><?php echo $val['year']; ?></td>
                        <td><?php echo $val[0]; ?></td>
                        <td><?php echo $val[1]; ?></td>
                        <td><?php echo $val[2]; ?></td>
                    </tr>
                    <?php endforeach; ?>
                    
                </table>
                </div>
                <div class="chart_content">
                <div id="bars2_chart">
                	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
                <!--div class="chart_content">
                <div id="linegb_chart">
                	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
                <div class="chart_content">
                <div id="linebb_chart">
                	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
                <div class="chart_content">
                <div id="linech_chart">
                	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div>
                <div class="chart_content">
                <div id="linett_chart">
                	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
                        width="500"
                        height="250" id="graph-2" align="middle">
                     
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf" />
                        <param name="quality" value="high" />
                        <embed src="<?php echo $this->baseUrl ?>/public/chart/open-flash-chart.swf"
                               quality="high"
                               bgcolor="#FFFFFF"
                               width="500"
                               height="250"
                               name="open-flash-chart"
                               align="middle"
                               allowScriptAccess="sameDomain"
                               type="application/x-shockwave-flash"
                               pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </div>
                </div-->
			</div>
		</div>
	</div>
</div>









<!--底部-->
<?php echo $this->partial('common/footer.html') ?>
</body>
</html>